<?php
// +----------------------------------------------------------------------
// | Ocm [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Author: Dean <zxxjjforever@163.com>
// +----------------------------------------------------------------------
namespace Portal\Controller;
use Common\Controller\HomebaseController; 
/**
 * 定时器
 */
class CronController extends HomebaseController {
	
    //首页
	public function index() {
    \Think\Log::write('测试日志信息，这是警告级别，并且实时写入','WARN');
	$data=\Portal\Controller\CronController::test();
	var_dump($data);
    }
	
	static public function test(){
		return date('Y-m-d H:i:s');
	}
	function t(){
		var_dump('aa');
	}

}


